package com.itheima.dto;

import java.io.Serializable;


public class MenusDto implements Serializable {

    //菜单项id
    private Long id;
    //权限代码
    private String code;
    //是否是权限点
    private boolean is_point;
    //父id
    private Long pid;
    //name
    private String title;

    public MenusDto() {
    }

    public MenusDto(Long id, String code, boolean is_point, Long pid, String title) {
        this.id = id;
        this.code = code;
        this.is_point = is_point;
        this.pid = pid;
        this.title = title;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public boolean isIs_point() {
        return is_point;
    }

    public void setIs_point(boolean is_point) {
        this.is_point = is_point;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "MenusDto{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", is_point=" + is_point +
                ", pid=" + pid +
                ", title='" + title + '\'' +
                '}';
    }
}
